using System;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using PPIProxy.PPIWebservice;

namespace PPIProxy
{
	public static class WUtility_QueryPolygon_Point
	{
		#region Query
        public static DataSet SelectAllByQuery(Int32 Utility_QueryPolygonId, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Utility_Query_Polygon_Points_SelectAllByQuery(Utility_QueryPolygonId, connectionKey);
        }
        #region summary
		/// <summary>
		/// Date: 05/12/2008
		/// Time: 13:58:38
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
        public static DataSet SelectAll(string connectionKey)
		{
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Utility_Query_Polygon_Points_SelectAll(connectionKey);
		}
		#endregion Query

		#region CRUD
		#region summary
		/// <summary>
		/// Date: 05/12/2008
		/// Time: 13:58:38
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
        public static Int32 Insert(Int32 utility_QueryPolygonFK, double latitude, double longitude, string connectionKey)
		{
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Utility_Query_Polygon_Points_Insert(utility_QueryPolygonFK, latitude, longitude, connectionKey);
		}
		#region summary
		/// <summary>
		/// Date: 05/12/2008
		/// Time: 13:58:38
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
        public static void Delete(Int32 utility_QueryPolygon_PointId, string connectionKey)
		{
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            serv.Utility_Query_Polygon_Points_Delete(utility_QueryPolygon_PointId, connectionKey);
		}
        #region summary
        /// <summary>
        /// Date: 05/12/2008
        /// Time: 13:58:38
        /// Generated by: VMCoder
        /// Generated using VirtualGenerator
        /// </summary>
        #endregion summary
        public static void DeleteByQuery(Int32 utility_QueryPolygonFk, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            serv.Utility_Query_Polygon_Points_DeleteByQuery(utility_QueryPolygonFk,connectionKey);
        }
        #endregion CRUD
	}
}

